package com.xc.service.impl;

import com.xc.mapper.QuanMapper;
import com.xc.model.dto.ResultDTO;
import com.xc.service.QuanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class QuanServiceImpl implements QuanService {
    @Autowired
    private QuanMapper quanMapper;

    @Override
    public ResultDTO getHomeQuan() {

        return ResultDTO.data(quanMapper.getHomeQuan());
    }
}
